<?php
/**
 * Order Traits
 * User: zng
 * Date: 2020/3/18
 * Time: 10:58
 */
namespace app\api\traits\model\order;

Trait OrderFoods {

    public function foods()
    {
        return $this->belongsTo(\app\api\model\foods\Foods::class, 'fid');
    }

}